package com.xin.di.uav.applet.service;

import com.xin.di.uav.applet.request.ServiceAreaAddParam;
import com.xin.di.uav.applet.request.ServiceAreaEditParam;
import com.xin.di.uav.applet.resp.UserResp;
import com.xin.di.uav.common.request.common.IdRequest;
import com.xin.di.uav.common.response.MenuTreeResp;
import com.xin.di.uav.common.response.TreeResp;
import com.xin.di.uav.user.po.UserPO;
import jakarta.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;


public interface NewUserService {
    boolean add(ServiceAreaAddParam serviceArea);

    boolean delete(String id);

    boolean update(ServiceAreaEditParam serviceArea);

    boolean updateStatus(IdRequest idRequest);

    UserPO getById(String id);

    List<UserResp.Record> list(int pageNum, int pageSize, String phone, Date startTime, Date endTime);


    String loginByCode(String userName, String password);

    void export(HttpServletResponse httpServletResponse, String phone, Date startTime, Date endTime);

    List<MenuTreeResp> getRoleInfo();

}
